package cn.com.cfae.iras.doc.analyze.parse.model;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 分销安排模型
 */
public class FXAPModel extends BizBaseModel {
    /**
     * 分销安排
     */
    public static final String MODEL_NAME = "FXAP";


    /**
     * 分销安排
     */
    private final static String FXAP = "FXAP";


    private static Map<String, String> items = new HashMap<>();

    static {
        items.put(FXAP, "分销安排");

    }

    public static List<ExtractItem> createExtractItemList() {
        List<ExtractItem> extractItemList = new ArrayList<>();
        items.forEach((key, value) -> {
            ExtractItem extractItem = new ExtractItem();
            extractItem.setItemName(key);
            extractItem.setSynonyms(value.split(SYNONYM_SPLIT_CHAR));
            extractItemList.add(extractItem);
        });
        return extractItemList;
    }

}
